package com.shangke.corejava.ch6.homework;
public class Notebook {
	
	private char color;
	private int model;
	
	Notebook(){	
	}
	
	public Notebook(char color, int model) {
		super();
		this.color = color;
		this.model = model;
	}

	public void note(){
		System.out.println("颜色："+color+", cpu型号："+model);
	}

	public static void main(String[] args) {
		Notebook re=new Notebook('红',234);
		re.note();
	}
}
